﻿using System;
using System.Collections.Generic;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace IVBlog.Models
{
    public partial class Article
    {
        public Article()
        {
            Remark = new HashSet<Remark>();
        }

        public int ArticleId { get; set; }
        public int? CategoryId { get; set; }
        public string Aname { get; set; }
        public string Acontent { get; set; }
        public string Asynopsis { get; set; }
        public string Author { get; set; }
        public DateTime? Atime { get; set; }
        public DateTime? AreTime { get; set; }
        public int? Likes { get; set; }
        public int? Astate { get; set; }
        public int? ImgId { get; set; }
        public string TagId1 { get; set; }

        public virtual Category Category { get; set; }
        public virtual ICollection<Remark> Remark { get; set; }
    }
}
